  const list = [
  { id: 1, name: "张三", age: 18 },
  { id: 2, name: "李四", age: 19 },
  { id: 3, name: "王五", age: 20 },
  { id: 4, name: "赵六", age: 21 },
  { id: 5, name: "钱七", age: 22 },
  { id: 6, name: "孙八", age: 23 },
  { id: 7, name: "周九", age: 24 },
  { id: 8, name: "吴十", age: 25 },
  { id: 9, name: "郑十一", age: 26 },
  { id: 10, name: "王十二", age: 27 },
  { id: 11, name: "李十三", age: 28 },
  { id: 12, name: "孙十四", age: 29 },
];

function renderList() {
  return (
    <div className={"list"}>
      <ul>
        {list.map((item) => (
          <li key={item.id}>{item.name}</li>
        ))}
      </ul>
    </div>
  );
}
export default renderList;
